package com.by.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.by.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黄佳辉
 * @since 2023-01-04
 */
public interface UserService extends IService<User> {

    Page<User> queryByPage(Integer page, Integer pageSize);

    User login(String username, String password);
}
